<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form  method="post"  action="{% url 'index:search' %}">
      {% csrf_token %}
      <input type="search" name="keyword" placeholder="Search" required>
      <button type="submit">搜索</button>

    </form>
{% for foo in shop_list %}
    <ul>
        <li>{{ foo.article_title }}</li>
        <li>{{ foo.article_img }}</li>
        <li>{{ foo.article_PCS }}</li>
        <li>{{ foo.article_price }}</li>
        <li>{{ foo.article_state }}</li>
    </ul>
{% endfor %}
<h1>{{ msg }}</h1>

</body>
</html>